import Vue from 'vue'
import Router from 'vue-router'
import ProtocolInfo from '../views/ProtocolInfo'
import ContractDownload from '../views/ContractDownload.vue'
import PlanInfo from '../views/PlanInfo.vue'
import InsuranceInfo from '../views/InsuranceInfo'

Vue.use(Router)

export default new Router({
  routes: [
    // 协议信息
    {
      path: '/',
      name: 'ProtocolInfo',
      component: ProtocolInfo
    },
    // 合同下载
    {
      path: '/ContractDownload',
      name: 'ContractDownload',
      component: ContractDownload
    },
    // 搜索投保方案
    {
      path: '/PlanInfo',
      name: 'PlanInfo',
      component: PlanInfo
    },
    // 汽车延保险
    {
      path: '/InsuranceInfo',
      name: 'InsuranceInfo',
      component: InsuranceInfo
    }
  ]
})
